package cn.jlearn.proxy.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.view.RedirectView;

/**
 * @author qianyingchao
 * @version 1.0
 * @date 2021/7/16 4:50 下午
 */
@Controller
public class IndexController {

    @GetMapping(value = "/")
    public ModelAndView index() {
        return new ModelAndView(new RedirectView("/proxy/admin/home.html"));
    }

}
